export const mediumColumns = [
  {
    name: '',
    width: 106,
    code: 'stationName',
  },
  {
    name: '基数电量(KWh)',
    width: 106,
    code: 'baseQuantity',
  },
  {
    name: '合同电量(KWh)',
    width: 106,
    code: 'contractQuantity',
  },
  {
    name: '合同均价(元/KWh)',
    width: 106,
    code: 'contractAvgPrice',
  },
  {
    name: '合同电费(元)',
    width: 106,
    code: 'contractIncome',
  },
  {
    name: '中长期电量(KWh)',
    width: 106,
    code: 'totalLongTermQuantity',
  },
  {
    name: '中长期均价(元/KWh)',
    width: 106,
    code: 'totalLongTermAvgPrice',
  },
  {
    name: '中长期收入(元)',
    width: 106,
    code: 'totalLongTermIncome',
  },
  {
    name: '合同转让收入偏差(元)',
    width: 106,
    code: 'contractTransferAfterIncomeGap',
  },
];
const style = { fontWeight: 500, fontSize: 14 };
export const columns_1 = [
  ['stationName', '交易单元', 150],
  ['month', '日期', 150],
  [
    'baseQuantity',
    <>
      基数电量<span style={style}>(KWh)</span>
    </>,
    150,
  ],
  [
    'contractQuantity',
    <>
      合同电量<span style={style}>(KWh)</span>
    </>,
    150,
  ],
  [
    'contractAvgPrice',
    <>
      合同均价<span style={style}>(元/KWh)</span>
    </>,
    150,
  ],
  [
    'contractIncome',
    <>
      合同电费<span style={style}>(元)</span>
    </>,
    150,
  ],
  [
    'totalLongTermQuantity',
    <>
      中长期电量<span style={style}>(KWh)</span>
    </>,
    150,
  ],
  [
    'totalLongTermAvgPrice',
    <>
      中长期均价<span style={style}>(元/KWh)</span>
    </>,
    150,
  ],
  [
    'totalLongTermIncome',
    <>
      中长期收入<span style={style}>(元)</span>
    </>,
    150,
  ],
];
export const columns_2 = [
  ['contractType', '', 220],
  ['0', '月前合同转让', 190],
  ['1', '第一次月内合同转让', 190],
  ['2', '第二次月内合同转让', 190],
  ['3', '第三次月内合同转让', 190],
  ['4', '第四次月内合同转让', 190],
  ['5', '第五次月内合同转让', 190],
];
export const tableStyles = {
  // '--header-bgcolor': '#434649',
  '--border-color': 'rgba(255, 255, 255, 0.10)',
  '--header-row-height': '40px',
  '--row-height': '40px',
  '--font-size': '14px',
  '--cell-padding': '9px 5px',
  '--cell-border-vertical': '1px solid rgba(255, 255, 255, 0.10)',
  '--header-cell-border-vertical': '1px solid rgba(255, 255, 255, 0.10)',
  border: '1px solid rgba(255, 255, 255, 0.10)',
  borderRadius: '5px',
};

export const keyMap = {
  baseQuantityInto: '基数电量转入（MWh）',
  baseQuantityOut: '基数电量转出（MWh）',
  contractIncomeInto: '合同转入电费（元）',
  contractIncomeOut: '合同转出电费（元）',
  contractQuantityInto: '合同电量转入（MWh）',
  contractQuantityOut: '合同电量转出（MWh）',
  contractTransferAfterDealAvgPrice: '合同转让后成交均价（元/MWh）',
  contractTransferAfterIncome: '合同转让后收益（元）',
  contractTransferAfterIncomeGap: '合同转让收益差（元）',
  contractTransferAfterQuantity: '合同转让后持仓量（MWh）',
};
